package com.xbongbong.saas.model;

import com.xbongbong.paas.toolbox.wrap.IModel;
import com.xbongbong.saas.domain.entity.CustomerStatementProductEntity;

import java.util.List;
import java.util.Map;


/**
 * @Description
 * @author: shian
 * @date : 2020/12/30
 */
public interface CustomerStatementProductModel extends IModel<CustomerStatementProductEntity> {
   @Override
   Integer insert(CustomerStatementProductEntity entity);

   void insertBatch(List<CustomerStatementProductEntity> list);

   @Override
   List<CustomerStatementProductEntity> findEntitys(Map<String, Object> param);

   @Override
   Integer getEntitysCount(Map<String, Object> param);

   @Override
   Integer update(CustomerStatementProductEntity entity);

   CustomerStatementProductEntity getByKey(Long key, String corpid);

    List<CustomerStatementProductEntity> getByStatementId(String corpid, Long statementId, Integer snapshot);
}
